package com.zsrt;

import static org.junit.Assert.*;

import org.junit.Test;

public class GuanServiceTest {

	@Test
	public void test() {
		//省长
		System.out.println("我是省长，我要做的事情有：");
		ShengzhangServiceImpl sz1=new ShengzhangServiceImpl();
		sz1.guanMao();
		sz1.shengChengKaiHui();
		System.out.println("\n");
		//市长
		System.out.println("我是市长，我要做的事情有：");
		ShizhangServiceImpl sz2=new ShizhangServiceImpl();
		sz2.guanMao();
		sz2.shengChengKaiHui();
		sz2.ShiNeiKaiHui();
		System.out.println("\n");
		
		//县长
		System.out.println("我是县长，我要做的事情有：");
		XianzhangServiceImpl sz3=new XianzhangServiceImpl();
		sz3.guanMao();
		sz3.shengChengKaiHui();
		sz3.ShiNeiKaiHui();
		sz3.XianNeiKaiHui();
		System.out.println("\n");
	}

}
